﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using BoolanSlide.UIElement.Shapes.TextShapes.Common;
using Windows.Foundation;
using Windows.UI;

namespace BoolanElement
{
    
    public abstract class BooLineBaseElement:BooElement
    {
        public event ShapePropertyChangedHandler ShapePropertyChanged;

        public virtual void PropertyChange(String type)
        {
            ShapePropertyChanged(this, new ShapePropertyChangedArgs() { PropertyName=type});
        }

        public virtual void UpdateUI(BooElement element)
        { 
            ShapePropertyChangedArgs arg = new ShapePropertyChangedArgs();
            arg.Data = element;
            arg.PropertyName = "UpdateUI";
            ShapePropertyChanged(this, arg);
        }

        public virtual void Load(BooLineBaseElement shapesElement)
        {
            
        }
    }
}
